// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import api from './service'
import VueLazyload from 'vue-lazyload'

import VueAwesomeSwiper from 'vue-awesome-swiper'

Vue.config.productionTip = false
Vue.prototype.$api = api
Vue.use(VueAwesomeSwiper)
Vue.use(VueLazyload)

const app = new Vue({
  router,
  ...App
})

export { app, router }
